#pragma once

namespace Pdf
{
	struct StreamInfo
	{
		StreamInfo();
		StreamInfo(unsigned long length, const std::vector<char> &checksum);

		unsigned long       length;
		std::vector<char>   checksum;

		bool operator == (const StreamInfo &rhs) const throw();
		bool operator <  (const StreamInfo &rhs) const throw();
	};

	struct FontInfo
	{
		std::string         name;
		std::string         encoding;
		std::vector<int>    widths;

		bool operator == (const FontInfo &rhs) const throw();
		bool operator <  (const FontInfo &rhs) const throw();
	};
}

#include "merger_cache.inl"